<?php

function stg_test()
{
	$srv = new stg_Server();
	
	$srv->create_user('icalvo');
	
	$srv->create_game('My game', 'Milky Way');
	
	$universe = $srv->games['My game']->universe;
	
	// Player creation
	$universe->create_player('Player 1', $srv->users['icalvo']);
	
	// Player configuration

	// First turn execution
	
	$srv->games['My game']->execute_turn();
}

?>